package com.qijian.flowable.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * 流程规则明细对象 t_flowable_rule_detail
 *
 * @author qijian
 * @date 2021-09-17
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("t_flowable_rule_detail")
public class FlowableRuleDetail extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "${column.columnComment}")
    private Long detailId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "${column.columnComment}")
    private Long ruleId;

    /** 字段名称 */
    @Excel(name = "字段名称")
    @ApiModelProperty(value = "字段名称")
    private String fieldName;

    /** 字段 */
    @Excel(name = "字段")
    @ApiModelProperty(value = "字段")
    private String model;

    /** 规则 */
    @Excel(name = "规则")
    @ApiModelProperty(value = "规则")
    private String ruleName;

    /** 值 */
    @Excel(name = "值")
    @ApiModelProperty(value = "值")
    private String ruleValue;

    /** 判断 */
    @Excel(name = "判断")
    @ApiModelProperty(value = "判断")
    private String ruleJudge;

    /** 类型 */
    @Excel(name = "类型")
    @ApiModelProperty(value = "类型")
    private String ruleType;

    /** 内容 */
    @Excel(name = "内容")
    @ApiModelProperty(value = "内容")
    private String ruleContent;

}
